<#include 'member_header.html' />
<!-- 获得会员申请退货、换货列表标签 -->
<#assign sellBackListTag = newTag("sellBackListTag")>
<!-- 调用会员申请退货、换货列表标签 -->
<#assign result = sellBackListTag()>
<div class="member-return-list">
	<h1>退货列表</h1>
	<div class="member-return-table">
		<table>
			<tr>
				<th>申请时间</th>
				<th>订单号</th>
				<th>状态</th>
				<th>操作</th>
			</tr>
			<#if result.resultList?size gt 0 >
			<#list result.resultList as sellback>
				<tr>
					<td><@dateformat time="${ sellback.regtime?c}" pattern="yyyy-MM-dd HH:mm"/></td>
					<td>${sellback.ordersn!'' }</td>
					<td>
				<#if sellback.type==1>
					<#if sellback.tradestatus  == 0>
				    	<span>申请退款</span>
					<#elseif sellback.tradestatus  == 1>
						<span>审核通过</span>
					<#elseif sellback.tradestatus  == 2>
						<span>审核拒绝</span>
					<#elseif sellback.tradestatus  == 6>
						<span>已退款</span>
					</#if>
				<#elseif sellback.type==2>
					<#if sellback.tradestatus  == 0>
				    	<span>申请退货</span>
					<#elseif sellback.tradestatus  == 1>
						<span>审核通过</span>
					<#elseif sellback.tradestatus  == 2>
						<span>已拒绝</span>
					<#elseif sellback.tradestatus  == 3>
						<span>已完成</span>
					<#elseif sellback.tradestatus  == 4>
						<span>已入库</span>
					<#elseif sellback.tradestatus  == 5>
						<span>部分入库</span>
					<#elseif sellback.tradestatus  == 6>
						<span>已退款</span>
					</#if>
				</#if>
					</td>
					<td class="btn-div"><a href="return_detail.html?id=${sellback.id}&sn=${sellback.ordersn}"  class="small-white">查看</a></td>
				</tr>
			</#list>
		</table>
		<@pager pageno="${result.page}" pagesize="${result.pageSize}" totalcount="${result.totalCount}" />
		<#else>
		</table>
				<div class="member-comment-wait">
					<p class="member-right-blank">抱歉，暂时没有符合数据</p>
				</div>
		</#if>
	</div>
</div>

</div>
</div>
</div>
</div>
<script>
	$(function(){
		selectMenu(3);
	})
</script>
<#include '../common/footer.html'/>